package com.csi.dao;

import com.csi.domain.UserInfo;

import java.sql.SQLException;
import java.util.List;

public interface UserInfoDao {

   /* List<UserInfo> list() throws SQLException;*/

    UserInfo login(String phone,String password) throws SQLException;

    int register(UserInfo userInfo) throws SQLException;

    int update(UserInfo userInfo) throws SQLException;

    int update(String password,int userId) throws SQLException;
}
